package com.ocean.courtyard.entity;

import lombok.Data;

import java.util.Date;

@Data
public class CourtyardHome {

    private Long homeId;

    private String userName;

    private String server;

    private Boolean dropItem;

    private Double x;

    private Double y;

    private Double z;

    private String worldName;

    private Date createTime;

    public CourtyardHome(Long homeId, String userName, String server, Boolean dropItem, Double x, Double y, Double z, String worldName, Date createTime) {
        this.homeId = homeId;
        this.userName = userName;
        this.server = server;
        this.dropItem = dropItem;
        this.x = x;
        this.y = y;
        this.z = z;
        this.worldName = worldName;
        this.createTime = createTime;
    }

    public CourtyardHome(String userName, String server, Double x, Double y, Double z, String worldName) {
        this.userName = userName;
        this.server = server;
        this.x = x;
        this.y = y;
        this.z = z;
        this.worldName = worldName;
    }
}
